<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改</title>
</head>
<body>
<form action="" method="post">
    <input type="text" name="title" value="{{ alls.nTitle }}"><br>
    <input type="text" name="author" value="{{ alls.nAuthor }}"><br>
    类型 <select name="type" id="">
    {% for foo in alla %}
        {% if alls.tid == foo %}

            <option value="{{ foo.id }}" selected >{{ foo.tname }}</option>
        {% else %}
            <option value="{{ foo.id }}" >{{ foo.tname }}</option>
        {% endif %}
    {% endfor %}
</select><br>
    状态 {% if alls.NStatus == True %}
    <input type="radio" name="NStatus" value='0' checked="checked">未审核
    <input type="radio" name="NStatus" value='1'  >已审核<br>
{% else %}
    <input type="radio" name="NStatus" value='0'  >未审核
    <input type="radio" name="NStatus" value='1'  checked>已审核<br>
{% endif %}


    内容 <textarea name="content" id="" cols="30" rows="10" >{{ alls.nContent }}</textarea>
    <button>修改</button>
</form>
</body>
</html>